/* fadeIn动画开始 */
:root {
    --animate-duration: 1s;
    --animate-delay: 0.5s;
    --animate-repeat: 1
}

.animate__animated {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-duration: var(--animate-duration);
    animation-duration: var(--animate-duration);
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both
}

@media (prefers-reduced-motion:reduce),
print {
    .animate__animated {
        -webkit-animation-duration: 1ms !important;
        animation-duration: 1ms !important;
        -webkit-transition-duration: 1ms !important;
        transition-duration: 1ms !important;
        -webkit-animation-iteration-count: 1 !important;
        animation-iteration-count: 1 !important
    }
}

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

.animate__fadeIn {
    -webkit-animation-name: fadeIn;
    animation-name: fadeIn
}

/* fadeIn动画结束 */
* {
    margin: 0;
    padding: 0;
}

html,
body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #f5f6fa;
}

.hide {
    display: none !important;
}

.yszc {
    color: #fff;
    font-size: 12px;
    text-decoration: none;
    transform: scale(0.8);
    margin-top: 3px;
}

#preloader {
    /* Images you want to preload*/

    background-image: url(https://mdhw.oss-cn-hangzhou.aliyuncs.com/promotion/button_after.png);
    background-image: url(https://mdhw.oss-cn-hangzhou.aliyuncs.com/promotion/award_float_bg.png);
    background-image: url(https://mdhw.oss-cn-hangzhou.aliyuncs.com/promotion/open_award.png);
    background-image: url(https://mdhw.oss-cn-hangzhou.aliyuncs.com/promotion/award_float_close.png);

    width: 0px;

    height: 0px;

    display: inline;

}

.container {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: scroll;
    background-color: #f5f6fa;
}

.container-inner {
    max-width: 750px;
    margin: 0 auto;
    position: relative;
    min-height: 100%;
    background-image: url(https://mdhw.oss-cn-hangzhou.aliyuncs.com/promotion/page_bg.png);
    background-size: 100% 100%;
    overflow: hidden;
}

.app-logo {
    width: 10vw;
    height: 10vw;
    max-width: 100px;
    max-height: 100px;
    background-image: url(https://mdhw.oss-cn-hangzhou.aliyuncs.com/promotion/app-logo.png);
    background-size: 100% 100%;
    position: absolute;
    top: 5px;
    left: 5px;
}

.activity_rules {
    text-decoration: none;
    position: absolute;
    top: 5px;
    right: 0;
    z-index: 99;
    height: 5vw;
    max-height: calc(750px * 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2.5vw 0 0 2.5vw;
    padding-left: 10px;
    padding-right: 5px;
    font-size: 12px;
    color: #B76202;
    background-color: #FCDF59;
}

.online_kefu {
    text-decoration: none;
    position: absolute;
    top: 40px;
    right: 0;
    z-index: 99;
    width: 20px;
    border-radius: 2.5vw 0 0 2.5vw;
    padding-left: 3px;
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: 12px;
    color: #B76202;
    background-color: #FCDF59;
    text-align: center;
}

.canvas-wrapper {
    position: relative;
}

.canvas-wrapper-inner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.button {
    background: transparent;
    outline: none;
    border: none;
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: -9999px;
    z-index: 99;
    border-radius: 50%;
    margin: 0 auto;
    width: 100px;
    height: 100px;
    background-image: url(https://mdhw.oss-cn-hangzhou.aliyuncs.com/promotion/button_before.png);
    background-size: 100% 100%;
}

.button_after {
    background-image: url(https://mdhw.oss-cn-hangzhou.aliyuncs.com/promotion/button_after.png);
}

.scaleAni {
    animation: scaleAni 0.6s linear infinite alternate;
}

@keyframes scaleAni {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(0.9);
    }
}

#canvas {
    display: block;
}

.loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f6fa;
}

.loading-ico {
    width: 100px;
}

.footer-block {
    margin-top: -50px;
    padding: 10px 0;
    color: #fff;
    text-align: center;
}

.foot-row {
    font-size: 14px;
    margin-top: 10px;
    margin-bottom: 10px;
}

a {
    color: inherit;
}

.award_result {
    width: 80vw;
    height: 31.3vw;
    max-width: calc(750px * 0.8);
    max-height: calc(750px * 0.313);
    background-image: url(https://mdhw.oss-cn-hangzhou.aliyuncs.com/promotion/award_result_bg.png);
    background-size: 100% 100%;
    box-sizing: border-box;
    padding: 10% 2% 2%;
    display: flex;
    justify-content: space-between;
}

.award_result_item {
    width: 32%;
    height: 100%;
    border-radius: 5px;
    overflow: hidden;
    background-image: -moz-linear-gradient(0deg, rgb(254, 178, 155) 0%, rgb(255, 253, 252) 50%, rgb(254, 195, 179) 100%);
    background-image: -webkit-linear-gradient(0deg, rgb(254, 178, 155) 0%, rgb(255, 253, 252) 50%, rgb(254, 195, 179) 100%);
    background-image: -o-linear-gradient(0deg, rgb(254, 178, 155) 0%, rgb(255, 253, 252) 50%, rgb(254, 195, 179) 100%);
    background-image: -ms-linear-gradient(0deg, rgb(254, 178, 155) 0%, rgb(255, 253, 252) 50%, rgb(254, 195, 179) 100%);
    background-image: linear-gradient(0deg, rgb(254, 178, 155) 0%, rgb(255, 253, 252) 50%, rgb(254, 195, 179) 100%);
}

.award_result_item_icon {
    display: block;
    height: 200%;
    margin: 0 auto;
    transition: all 0.2s linear;
}

.dialog {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.dialog-inner {
    position: relative;
    width: 90vw;
    height: 145vw;
    background-image: url(https://mdhw.oss-cn-hangzhou.aliyuncs.com/promotion/award_float_bg.png);
    background-size: 100% 100%;
    display: flex;
    align-items: flex-end;
    margin-bottom: 20px;
}

.dialog-body {
    width: 100%;
    height: 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dialog-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    position: absolute;
    top: 20px;
    right: 20px;
    background-image: url(https://mdhw.oss-cn-hangzhou.aliyuncs.com/promotion/award_float_close.png);
    background-size: 100% 100%;
}

.openBox_price {
    font-size: 13px;
    font-weight: bold;
    color: #E92C22;
    text-shadow: 0px 1px 0px #FFDE97;
}

.input-outer {
    width: 70%;
    height: 38px;
    border-radius: 12px;
    box-sizing: border-box;
    background-color: #fff;
    display: flex;
    align-items: center;
    padding: 0 10px;
    font-size: 15px;
    margin-top: 12px;
}

.input {
    border: none;
    outline: none;
    background: transparent;
    flex: 1;
    font-size: 14px;
}

.phone-sign {
    width: 18px;
    height: 18px;
    object-fit: contain;
    margin-right: 10px;
}

.open_award {
    border: none;
    outline: none;
    width: 70%;
    height: 44px;
    background-color: transparent;
    background-image: url(https://mdhw.oss-cn-hangzhou.aliyuncs.com/promotion/open_award.png);
    background-size: 100% 100%;
    margin-top: 8px;
    animation: scaleAni2 0.5s ease-in-out infinite alternate;
}

@keyframes scaleAni2 {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
    }
}

@media screen and (min-width:375px) {
    .openBox_price {
        font-size: 15px;

    }
    .input{
        font-size: 16px;
    }
    .input-outer {
        height: 44px;
    }

    .phone-sign {
        width: 24px;
        height: 24px;
    }

    .open_award {
        height: 54px;
    }
}

@media screen and (min-width:768px) {
    .foot-row {
        font-size: 18px;
    }
}